﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace CorporationWars
{
    [Serializable]
    public class HRNode : BaseNode
    {
        public HRNode(Game1 game)
            : base(game, "Human Resources", 0)
        {
            PersonelRequired = new List<SalaryLevels>(new SalaryLevels[] { SalaryLevels.Junior, SalaryLevels.Regular, SalaryLevels.Regular, SalaryLevels.Senior });
            HasExternalAccess = true;
            ShortName = "H.R.";
            AddButton(new UIButton(game) { TextureAsset = "Textures/HUD/Buttons/HireFire", Color = Color.Silver, HoverColor = Color.White, MouseDownColor = Color.Red, Name = "HireFire", OnClick = ButtonClicked, ToolTipText = "Hire and Fire" });
            Description = "Corporate staff are managed from this node, hired and fired from here..";
            Software.Add(CorporationWars.Software.CreateBasicFirewall(Game));
        }
    }
}